package cn.edu.xhu.library_management.department.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @Author: MMJ
 * @Date: 2022-01-23
 * @Description: 班级实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "班级实体类")
public class LmClass implements Serializable {
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "入学年份")
    private Integer year;
    @ApiModelProperty(value = "编号",notes = "编号：1班 编号为 1")
    private Integer order;
    @ApiModelProperty(value = "专业ID",notes = "外键")
    private Integer maId;
}
